chore: adopt biome as code formatter#81
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Task Reference: [MYMR-205]
Adopts Biome 2.4.15 as the project's code formatter. ESLint stays in charge of linting; Biome's linter and assist are disabled to keep the change surgical and preserve
eslint-config-nextrules.Commits on this branch (will be squashed):
chore: add biome formatter scaffolding—@biomejs/biome@2.4.15dev dep,biome.jsonc,bun run format/format:checkscripts, CIFormat checkstep.chore: apply biome format baseline— one-shot reformat of 231 files matching the existing style (2-space, double quote, semicolons always, trailing commas all, line width 80, LF).chore: enable jsonc parser flags and set vcs default branch—json.parser.allowComments/allowTrailingCommassotsconfig.jsonand other JSONC files parse cleanly, plusvcs.defaultBranch="main"for futurebiome format --changed --since=mainworkflows. Also removes the prematurely-added.git-blame-ignore-revs(see below).Type of change
Testing
bun run devbun run lint)bun run typecheck)bun run format:check)Notes for reviewer
css.parser.tailwindDirectivesfor Tailwind v4@themesupport inapp/globals.css.node_modules/,.next/,out/,build/,dist/,coverage/,.vercel/,*.tsbuildinfo,next-env.d.ts,bun.lock,migrations/,drizzle/..git-blame-ignore-revsis intentionally NOT in this PR. Squash-merge produces a new SHA that does not exist on any branch until after the merge lands. A follow-up PR will create the file pointing at the real squash SHA onmain..vscode,.zed), husky + lint-staged pre-commit hook, CONTRIBUTING.md documentation.